mkdir .\temp
xcopy /s ".\src" ".\temp"
REM "C:\Program Files\JavaFX\javafx-sdk1.2\bin\javafxc.exe" .\temp\player\*.fx
xcopy /s /i ".\video" ".\temp\video"

cd .\temp
javac.exe player/*.java
javafxc.exe player/Main.fx
cls

cd .\player
javafxdoc.exe -author -private -profile desktop *.fx
xcopy /S /I ".\fxdocs" "..\..\docs\javafxdocs"
rmdir /s /q fxdocs

mkdir "..\..\docs\javadocs"
javadoc -private -d "..\..\docs\javadocs" *.java


cd..

echo Soll das Programm gestartet werden?
@echo off
choice /c:JN
if errorlevel 2 GOTO nein
if errorlevel 1 GOTO ja


:ja
javafx.exe "player.Main"
goto ende

:nein
